package ants.map.scent;

import java.util.HashMap;
import java.util.Map;

import ants.map.Coordinate;

public class CombatScentMap {

	public static final int BASE_SOURCE = 20000;
	public static final int NO_DANGER = 0;

	private Map<Coordinate, Integer> scentMap = new HashMap<Coordinate, Integer>();

	public void clear() {
		scentMap.clear();
	}

	public int getScent(Coordinate c) {
		if (scentMap.containsKey(c))
			return scentMap.get(c);
		return NO_DANGER;
	}

	public void setScent(Coordinate c, int value) {
		scentMap.put(c, value);
	}

}
